﻿using SCM.Common;
using SCM.Model;
using SCM.Model.DBEntity;
using System.Collections.Generic;

namespace SCM.Servie.IBusiness
{
    /// <summary>
    /// 任务服务接口
    /// </summary>
    public interface ITaskService
    {
        string Add(T_Task model);

        bool Delete(List<string> ids);

        bool Update(T_Task model);

        T_Task GetById(string id);

        List<T_Task> GetList(string publisherCompanyID,string subscriberCompanyID);

        PageData<T_Task> Query(string publisherCompanyID, string subscriberCompanyID , string taskNo, TaskSourceTypeEnum taskSourceType, TaskCategoryEnum taskCategory, TaskStatusEnum taskStatus, PageInfo page);
    }
}
